<?php print $this->doctype()?>
<html>
<head>
	<?php
		print $this->headBase();
    	print $this->headMeta();
    	print $this->headTitle();
    	print $this->headScript();
    	print $this->headLink()->setAutoEscape(false);
    	print $this->headStyle();
    ?>
</head>
<body>

<div class="container">

	<div class="head">
		<?php print $this->site()->static(array('alias' => 'block-head'));?>
	</div><!-- END: .head -->

	<div class="main">
		<div class="menu">
			<?php $alias = $this->getHelper('UrlParams')->get('alias')?>
			<ul>
				<li class="<?php ($alias != 'home') or print 'active'?>">
					<a href="<?php print $this->url(array('alias' => 'home'), 'site')?>">Strona główna</a></li>
				<li class="<?php ($alias != 'aktualnosci') or print 'active'?>">
					<a href="<?php print $this->url(array('alias' => 'aktualnosci'), 'site')?>">Aktualności</a></li>
				<li class="<?php ($alias != 'swiadectwa-energetyczne') or print 'active'?>">
					<a href="<?php print $this->url(array('alias' => 'swiadectwa-energetyczne'), 'site')?>">Świadectwa energetyczne</a></li>
				<li class="<?php ($alias != 'oferta') or print 'active'?>">
					<a href="<?php print $this->url(array('alias' => 'oferta'), 'site')?>">Oferta</a></li>
				<li class="<?php ($alias != 'cennik') or print 'active'?>">
					<a href="<?php print $this->url(array('alias' => 'cennik'), 'site')?>">Cennik</a></li>
				<li class="<?php ($alias != 'kontakt') or print 'active'?>">
					<a href="<?php print $this->url(array('alias' => 'kontakt'), 'site')?>">Kontakt</a></li>
			</ul>
		</div>
		
		<div class="content">
			<?php print $this->layout()->content?>
		</div><!-- END: .content -->

	</div><!-- END: .main -->

	<div class="sitebar">
		
	</div><!-- END: .sitebar -->

</div><!-- END: .container -->

<div class="foot">
	<div class="container">
		<ul>
			<li><a href="<?php print $this->url(array('alias' => 'home'), 'site')?>">Strona główna</a></li>
			<li><a href="<?php print $this->url(array('alias' => 'aktualnosci'), 'site')?>">Aktualności</a></li>
			<li><a href="<?php print $this->url(array('alias' => 'swiadectwa-energetyczne'), 'site')?>">Świadectwa energetyczne</a></li>
			<li><a href="<?php print $this->url(array('alias' => 'oferta'), 'site')?>">Oferta</a></li>
			<li><a href="<?php print $this->url(array('alias' => 'cennik'), 'site')?>">Cennik</a></li>
			<li><a href="<?php print $this->url(array('alias' => 'kontakt'), 'site')?>">Kontakt</a></li>
		</ul>
		
		<a class="promotor" target="_blank" href="http://www.promotor.krakow.pl" title="Agencja reklamowa, Kraków">Promotor</a>
	</div>
</div>

	<?php print $this->inlineScript()?>
</body>
</html>